package cn.tedu.submarine;

import javax.swing.ImageIcon;
/**
 * 侦察潜艇
 */
public class ObserveSubmarine extends SeaObject{

    public ObserveSubmarine() {
        super(63, 19);
    }

    @Override
    public void move() {
        //侦擦潜艇向右移动，改变x坐标
        setX(getX()+getSpeed());
    }

    @Override
    public ImageIcon getImage() {
        return Images.obsersubm;
    }
}
